package com.xu.cloud.shorturl.pojo.http;

import com.xu.cloud.common.pojo.http.req.BaseRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author xuguan
 * @since 2024/3/9
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class BatchGenerateShortUrlReq extends BaseRequest {
    private static final long serialVersionUID = -3272803392247419560L;

    @NotEmpty
    @Size(max = 10000)
    private List<String> originUrls;
}